package com.itestor.iptv.modules.alert.vo;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

public class RobotLogOBJ {

    /**
     * 告警编号
     */
    private Long idRobotLog;
    /**
     * 设备编号
     */
    private Integer idRobot;
    /**
     * 告警发生时间
     */
    private Long logTime;
    /**
     * 告警视频
     */
    private String videoFile;
    /**
     * 告警前网络包
     */
    private String prePcapFile;
    /**
     * 告警网络包
     */
    private String pcapFile;
    /**
     * 告警描述
     */
    private String qoeMomo;
    /**
     * 红外指令
     */
    private String irMomo;
    /**
     * 
     */
    private Integer confirm;
    /**
     * 
     */
    private Integer Recycle;

    public Long getIdRobotLog() {
        return idRobotLog;
    }

    public void setIdRobotLog(Long pIdRobotLog) {
        idRobotLog = pIdRobotLog;
    }

    public Integer getIdRobot() {
        return idRobot;
    }

    public void setIdRobot(Integer pIdRobot) {
        idRobot = pIdRobot;
    }

    public Long getLogTime() {
        return logTime;
    }

    public void setLogTime(Long pLogTime) {
        logTime = pLogTime;
    }

    public String getVideoFile() {
        return videoFile;
    }

    public void setVideoFile(String pVideoFile) {
        videoFile = pVideoFile;
    }

    public String getPrePcapFile() {
        return prePcapFile;
    }

    public void setPrePcapFile(String pPrePcapFile) {
        prePcapFile = pPrePcapFile;
    }

    public String getPcapFile() {
        return pcapFile;
    }

    public void setPcapFile(String pPcapFile) {
        pcapFile = pPcapFile;
    }

    public String getQoeMomo() {
        return qoeMomo;
    }

    public void setQoeMomo(String pQoeMomo) {
        qoeMomo = pQoeMomo;
    }

    public String getIrMomo() {
        return irMomo;
    }

    public void setIrMomo(String pIrMomo) {
        irMomo = pIrMomo;
    }

    public Integer getConfirm() {
        return confirm;
    }

    public void setConfirm(Integer pConfirm) {
        confirm = pConfirm;
    }

    public Integer getRecycle() {
        return Recycle;
    }

    public void setRecycle(Integer pRecycle) {
        Recycle = pRecycle;
    }
    
    /**
     * get LogTime.String
     * @return String 
     */
    public String getLogTimeStr() {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm",
                Locale.US);
        return sdf.format(new Date(1285416620 * 1000L));
    }
}
